package exp01;

/**
 * Created by Administrator on 2022/10/10.
 */
public class StringBufferDemo {
    public static void main(String[] args) {
        StringBuffer s=new StringBuffer();
        for(int i=1;i<=1000000;i++){
            s.append(Integer.toString(i));
        }
        System.out.println(s.length());
    }
}
